package com.example.nonacademic_education.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;


/**
 * @author xinmiao
 * @description
 * @date 2023/3/28 11:50
 */
@Data
@TableName("student")
public class Student {
    private static final long serialVersionUID = 1L;
    /**
     * ID
     */
    @TableId
    private Long id;
    @ExcelProperty("身份证号")
    private String identityCardId; // 身份证号
    private String password;
    private Long classId;
    @ExcelProperty("姓名")
    private String name;
    @ExcelProperty("性别")
    private String sex;
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date enrollmentTime; // 入学时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date graduateTime; // 毕业时间
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date creationTime; // 发放证书日期
    private String certificateNo;   //证书编号
    private String identificationPhotoUrl; // 头像的地址
    private Integer isDel;

    private Long departmentId;
    private Integer enable;
}
